package com.ld.security.server.blog.modules.da.entity;

import com.ld.security.common.mybatis.anno.LabelKey;
import com.ld.security.common.mybatis.anno.LabelKeys;
import com.ld.security.server.blog.modules.da.constant.DaHtmlConstant;
import com.ld.security.common.mybatis.base.entity.*;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
import com.ld.security.common.mybatis.anno.SqlKey;
import com.ld.security.common.core.base.column.*;
import com.ld.security.common.mybatis.constant.SqlCondition;

@TableName("da_html")
@ApiModel("数据文本")
@Data
public class DaHtmlEntity  extends SuperEntity implements LabelMap
{

  @ApiModelProperty("模板")
  @SqlKey(SqlCondition.eq)
  @LabelKeys(value = DaHtmlTelEntity.class)
    private String htmlTelId;

  @ApiModelProperty("地址")
  @SqlKey(SqlCondition.like)
  private String url;


  @LabelKeys(value = DaGroupEntity.class)
  @ApiModelProperty("分组编号")
  @SqlKey(SqlCondition.eq)
  private String groupId;



  @ApiModelProperty("标题")
  @SqlKey(SqlCondition.eq)
    private String label;






  @ApiModelProperty("解析数据")
  @SqlKey(SqlCondition.eq)
    private String parData;

  @LabelKeys
  @ApiModelProperty("状态")
  @SqlKey(SqlCondition.eq)
  private DaHtmlConstant.htmlStatus htmlStatus;

  @ApiModelProperty("参数")
  @SqlKey(SqlCondition.eq)
    private ListJson config;




  @ApiModelProperty("原始数据")
  @SqlKey(SqlCondition.eq)
    private String baseData;


  private MapJson labelMap;


        }
